package com.itheima.homework.Two;

public class Demo {

    public static void main(String[] args) {

        Student stu1 = new Student("张三",23);
        Student stu2 = new Student("张三",23);

        Boolean b = stu1.equals(stu2);
        System.out.println(b);


        System.out.println(stu1);
        System.out.println(stu2);

        int c = stu1.hashCode();
        System.out.println(c);
    }
}
